<?php
$tplname = "info-section.tpl";
$query = "SELECT s.id, c.title, c.content FROM info_section_content c JOIN info_sections s ON c.info_section_id = s.id WHERE s.alias = '$subsection' AND c.language = '$lang'";
if ($res = $db->runQuery($query)) {
	$row = $db->getRow($res);
	$infoSectionId = $row["id"];
	$pagetitle = utf8_encode($row["title"]);
	$content->assign("title", utf8_encode($row["title"]));
	$content->assign("content", utf8_encode($row["content"]));
}
// Imagen
$content->assign("showpicture", $subsection != "weather" ? true : false);
?>
